package com.test.qpbgboot.show.mapper;

import com.test.qpbgboot.show.pojo.dto.RoomQuery;
import com.test.qpbgboot.show.pojo.entity.Room;
import com.test.qpbgboot.show.pojo.vo.RoomVO;

import java.math.BigDecimal;
import java.util.List;

public interface RoomMapper {
    List<RoomVO> selectRoomVObyRoomQuery(RoomQuery roomQuery);
    Long selectShopIdById(Long id);
    BigDecimal selectPriceById(Long id);
    boolean checkEnableById(Long id);
    void updateInvisibleByShopId(Long shopId);
    void insert(Room room);
    void update(Room room);
    void deleteById(Long id);
}
